package router

import (
	"fx_swift_boss/internal/controller"
	"fx_swift_boss/pkg/middleware"
)

func MerChantVARouter() {
	merChantVApiVer := miniApiVer.Group("merchant", middleware.CheckAuth())
	{
		merChantVApiVer.GET("getMerChantNameBoss", controller.GetMerChantNameBoss)
		merChantVApiVer.POST("getAllMerChantAuditList", controller.GetAllMerChantAuditList)
		merChantVApiVer.POST("getAllMerChantSuccList", controller.GetAllMerChantSuccList)
		merChantVApiVer.GET("getMerChantBoss", controller.GetMerChantBoss)
		merChantVApiVer.GET("getAuditNums", controller.GetAuditNums)
		merChantVApiVer.GET("merOpenTrend", controller.MerOpenTrend)
		merChantVApiVer.POST("merOpenTrendDynamic", controller.MerOpenTrendDynamic)
		merChantVApiVer.GET("getMerStatusBoss", controller.GetMerStatusBoss)
		merChantVApiVer.GET("queryBusinessNature", controller.QueryBusinessNature)
		merChantVApiVer.GET("queryPaymentPurpose", controller.QueryPaymentPurpose)
		merChantVApiVer.GET("querySourceFund", controller.QuerySourceFund)
		merChantVApiVer.GET("queryTransaction", controller.QueryTransaction)
		merChantVApiVer.GET("queryTurnover", controller.QueryTurnover)
		merChantVApiVer.GET("doMerChantApproval", controller.DoMerChantApproval)
		merChantVApiVer.POST("postMerChant", controller.PostMerChant)
		merChantVApiVer.POST("createMerChantTemp", controller.CreateMerChantTemp)
	}
}
